<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			uni.getSystemInfo({
				success: (res) => {
					this.globalData.windowHeight = res.windowHeight
				},
			})
		},
		onHide: function() {
			console.log('App Hide')
		},
		globalData: {
			userInfo: {},
			token: null,
			windowHeight: null
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	/* icon图标 */
	@import "@/style/iconfont.css";
	/* 彩色icon图标 */
	@import "@/style/iconfont-weapp-icon.css";

	/*每个页面公共css */
	page {
		background-color: #f5f5f5;
	}
</style>
